*/
/**
- * SECTION:gskglshader
- * @Title: GskGLShader
- * @Short_description: Fragment shaders for GSK
+ * GskGLShader:
*
* A `GskGLShader` is a snippet of GLSL that is meant to run in the
* fragment shader of the rendering pipeline.
object_class->constructed = gsk_gl_shader_constructed;
/**
- * GskGLShader:sourcecode:
+ * GskGLShader:sourcecode: (attributes org.gtk.Property.get=gsk_gl_shader_get_source)
*
* The source code for the shader, as a `GBytes`.
*/
G_PARAM_STATIC_STRINGS);
/**
- * GskGLShader:resource:
+ * GskGLShader:resource: (attributes org.gtk.Property.get=gsk_gl_shader_get_resource)
*
* Resource containing the source code for the shader.
*
/**
* gsk_gl_shader_new_from_bytes:
- * @sourcecode: GLSL sourcecode for the shader, as a #GBytes
+ * @sourcecode: GLSL sourcecode for the shader, as a `GBytes`
*
- * Creates a #GskGLShader that will render pixels using the specified code.
+ * Creates a `GskGLShader` that will render pixels using the specified code.
*
* Returns: (transfer full): A new `GskGLShader`
*/
/**
* gsk_gl_shader_compile:
- * @shader: a #GskGLShader
- * @renderer: a #GskRenderer
+ * @shader: a `GskGLShader`
+ * @renderer: a `GskRenderer`
* @error: location to store error in
*
* Tries to compile the @shader for the given @renderer.
/**
- * gsk_gl_shader_get_source:
+ * gsk_gl_shader_get_source: (attributes org.gtk.Method.get_property=source)
* @shader: a `GskGLShader`
*
* Gets the GLSL sourcecode being used to render this shader.
}
/**
- * gsk_gl_shader_get_resource:
+ * gsk_gl_shader_get_resource: (attributes org.gtk.Method.get_property=resource)
* @shader: a `GskGLShader`
*
* Gets the resource path for the GLSL sourcecode being used